package dadosCentral;

import java.sql.Connection;
import java.sql.DriverManager;


public class Conexao {
	
	public static void main(String[] args)throws Exception {
		
		Class.forName("org.firebirdsql.jdbc.FBDriver");
		String url = "jdbc:firebirdsql:localhost/3050:c:/bancojava.gdb";		
		try(Connection con = DriverManager.getConnection(url, "ferrobem","123")) {				
			System.out.println("Banco Conectado!!" );
		}
			
		}
		
	}


